package com.suncreate.zhtz.iot.mapper;

import com.suncreate.zhtz.iot.model.AdcModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 */
@Component
@Mapper
public interface AdcMapper {
    /**
   e  * 查询数据
     *
     * @param startTime  起始时间
     * @param endTime  结束时间
     * @return
     */
    List<AdcModel> queryAdcAudioDataByTime(@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("chNum") Integer chNum);
    List<AdcModel> queryAdcAudioData(@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("chNum") Integer chNum,@Param("calculate") String calculate, @Param("inter") String inter, @Param("sort") Integer sort,@Param("limit") Integer limit);

}
